onmessage = function(e){
  postMessage({'source': 'src', 'target': 'trg', 'isValid': true});
};

function done(){
  // Send back the results to the parent page
  postMessage("done");
}